package com.kou.service;

import com.kou.pojo.Goods;
import com.kou.pojo.PageBean;

import java.util.List;

/**
 * @author SteinY
 * @create 2022-03-25 15:16
 * @description:
 */
public interface GoodsService {
    PageBean pageBean(String tid, String currentPage);

    Goods findGoodsById(String id);

    PageBean<Goods> select(String input, String currentPage);

    List<Goods> findAll();

    void create(Goods goods);

    void deleteGoodsById(String id);

    List<Goods> searchGoods(String name, String price);

    void update(Goods good);
}
